<!DOCTYPE html>
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>

    <title layout:title-pattern="$CONTENT_TITLE - $LAYOUT_TITLE">CAS &#8211; Central Authentication Service</title>

    <link rel="stylesheet" th:href="@{#{webjars.fontawesomemin.css}}"/>
    <link type="text/css" rel="stylesheet" th:href="@{#{webjars.latomin.css}}"/>

    <!--/* Core CAS CSS */-->
    <link rel="stylesheet" href="../static/css/cas.css" th:href="@{${#themes.code('cas.standard.css.file')}}"/>

    <link rel="icon" th:href="@{/favicon.ico}" type="image/x-icon"/>

    <script type="text/javascript" th:src="@{#{webjars.jquerymin.js}}"></script>
    <style type="text/css">
        html,
        body {
            height: 100%;
            overflow: hidden;
        }

        .navbar.navbar-expand-md.fixed-top {
            background: #34363a;
            height: 50px;
            margin: 0;
            padding: 0;
        }

        .navbar-brand {
            margin: 0;
            margin-left: 150px;
            padding: 0;
            width: auto;
            height: 40px;
            display: block;
            line-height: 40px;
        }

        .navbar-brand:hover {
            color: #fff;
        }

        .navbar-brand img {
            width: 40px;
            height: 40px;
            float: left;
        }

        .navbar-brand .company-title {
            color: #fff;
            float: left;
            margin-left: 15px;
        }

        .container.login-container {
            width: 100%;
            max-width: 100%;
            height: 100%;
            padding: 0;
            margin-top: 50px !important;
            background-repeat: no-repeat;
        }

        .container.login-container > #content {
            width: 410px;
            height: 550px;
            margin: 0 auto;
            padding-top: 100px;
        }

        .login-container .card-header.text-center {
            display: none;
        }

        .login-container label {
            display: none;
        }

        .login-container h3 {
            font-size: 18px;
            color: #373d41;
            line-height: 24px;
        }

        .login-container .form-sub-title {
            font-size: 14px;
            color: #606266;
            line-height: 24px;
            padding-bottom: 5px;
            margin-bottom: 10px;
            margin-top: 20px;
        }

        .login-container .card {
            border-radius: 0;
            border: none;
            padding: 0px 7px;
        }

        .login-container input.form-control {
            font-size: 14px;
            border-radius: 0;
            margin-bottom: 22px;
            color: #606266;
        }

        .login-container .btn-submit {
            border-radius: 0;
            border: none;
        }

        .login-container .btn-submit:hover {
            background-color: #329d4a;
        }

        .login-container .sidebar-content {
            font-size: 13px;
            margin-top: 10px;
            color: #606266;
        }

        footer.footer {
            font-size: 13px;
            color: #7c7d7d;
            text-align: center;
        }
    </style>

</head>

<body>
<div th:replace="fragments/header :: header">
    <a href="fragments/header.html">Header</a> fragment will go here
</div>

<main role="main" class="container login-container" id="loginForm">
    <div layout:fragment="content" id="content">
        CAS content will go here
    </div>
</main>

<div th:replace="fragments/footer :: footer">
    <a href="fragments/footer.html">Footer</a> fragment will go here
</div>

<script th:replace="fragments/scripts"/>
</body>
</html>
